﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfirmOrder.aspx.cs" Inherits="ProjektarbeteKlauserSwag.ConfirmOrder" MasterPageFile="~/Main.master" %>

<asp:Content ID="ConfirmOrder" ContentPlaceHolderId="ContentPlaceHolderMain" runat="server">
    <div>
    <h1>Orderbekräftning</h1>
        <h1>
            <asp:GridView ID="GridViewShowConfirmedOrder" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
                <Columns>
                    <asp:BoundField DataField="ArticleName" HeaderText="ArticleName" SortExpression="ArticleName" />
                    <asp:BoundField DataField="UnitPrice" HeaderText="UnitPrice" SortExpression="UnitPrice" />
                    <asp:BoundField DataField="Quantity" HeaderText="Quantity" SortExpression="Quantity" />
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:KlauserswagConnectionString %>" SelectCommand="GetOrderConfirmationProc" SelectCommandType="StoredProcedure">
                <SelectParameters>
                    <asp:SessionParameter Name="OrderID" SessionField="OrderHead" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
            <asp:ListBox ID="ListBoxShowUser" runat="server" Height="137px" Width="442px"></asp:ListBox>
        </h1>
    </div>
    </asp:Content>

